package com.gz.furnitures.dao;

import com.gz.furnitures.entity.Order;

import java.util.List;

public interface OrderDao {

    //将传入的order对象保存到order表中
    public int saveOrder(Order order);

    public List<Order> queryOrder();

    //得到总共有多少数据
    public int getTotalRowByMemberId(int memberId);

    public List<Order> getOrdersByMemberId(int begin, int pageSize, int memberId);
}
